
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>

<html>
<head>


<script type="text/javascript" src="<c:url value="/scripts/dom/tesoreria/frmcajachica_dom.js" /> "></script>
</head>

<body>

	<h2 align="center"> RENDICION DE CAJA CHICA : <b>${id_rendicion}</b></h2>
<form action="" id="cajachicaForm" method="GET">
<table border="0" width="780" align="center">

	<tr>
		<td>
		<fieldset>
		<table width="100%">
			<tr>
				<td width="60%">
				
				<table width="100%">
					
					<tr>
						<td><label>ZONA</label></td>
						<td><form:select path="lista_zonas" 
							id="cmb_zona" name="id_zona" disabled="true" >
							<c:forEach items="${lista_zonas}" var="zona">
								<form:option value="${zona.id_zona}" label="${zona.nom_zona}"></form:option>
							</c:forEach>
						</form:select></td>
					</tr>

					<tr>
						<td><label>FONDO FIJO</label></td>
						<td><form:select path="lista_fondos" id="cmb_fondo" name="fondo_fijo" disabled="true" style="width:100%" >
							<c:forEach items="${lista_fondos}" var="fondo">
								<form:option value="${fondo.id_fondofijo}" label="${fondo.descripcion}" selected="${fondo.id_fondofijo == fondo_selected.id_fondofijo ? 'selected' : ''}"></form:option>
							</c:forEach>

							
						</form:select></td>
					</tr>
					
				</table>
			
				</td>
				<td width="40%">
				
				<table width="100%">
					<tr>
						<td><label>FECHA </label></td>
						<td><input type="text" size="10"
							class="fecha_pedido required date" name="fec_emision" id="fec_emision" value="${fecha}" /></td>
					</tr>
					
					<tr>
						<td><label>MONTO BASE </label></td>
						<td><input type="text" size="10" disabled="disabled" id="monto_base" value="${fondo_selected.monto_base}" style="text-align:right"/></td>
					</tr>
				</table>
				
				</td>
			</tr>
		</table>
		</fieldset>
		</td>

	</tr>
	<tr>
		
		<td COLSPAN="4">
		<fieldset>
			<table>
				<tr >
						<td><label>OBSERVACION</label></td>
						<td><input type="text" size="50" id="referencia" name="referencia"/></td>
					</tr>
			</table>
		</fieldset>
		</td>
	</tr>
	<tr>
		<td COLSPAN="4" class="content-tabla">
		<fieldset>
			<table id="list2" alt="${id_rendicion}"></table> <div id="pager2"></div>
		</fieldset>	
		</td>
	</tr>
	
	<tr>
		<td colspan="2" align="center">
		<c:if test="${edicion==true}">
			<a id="btn_pedido"></a>
			<a id="btn_pedido_limpiar"></a>                		
		</c:if>
		</td>
	</tr>
</table>
</form>

</body>
</html>